package org.fms.web.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.fms.web.model.Registration;

import java.util.List;

@Mapper
public interface RegistrationMapper extends BaseMapper<Registration>{

    Integer insert(Registration record);

    List<Registration> selectAll();

    Registration selectById(Integer id);

    Integer deleteRegistration(Integer id);

    Integer updateRegistrationById(Integer id);

    int updateRegistrationById(Registration registration);
}